package guoanmaker.provider.business.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import guoanmaker.provider.business.model.ProvideOrderForm;
/**
 * 
* @ClassName: ProvideOrderFormRepository 
* @Description: 
* @author Yvonne_MGL
* @date 2017年7月6日 下午3:30:13 
*  
 */
public interface ProvideOrderFormRepository extends JpaRepository<ProvideOrderForm, String>, JpaSpecificationExecutor<ProvideOrderForm>{
	
	//组合查询分页
	public Page<ProvideOrderForm> findAll(Specification<ProvideOrderForm> specification,Pageable pageable);
	//组合查询不分页
	public List<ProvideOrderForm> findAll(Specification<ProvideOrderForm> specification);

}
